﻿using System;
using UnityEngine;
using UnityEngine.Rendering.Universal;

namespace Learning
{
    [Serializable]
    public class ColorIntensitySetting {
        /// <summary>
        /// 设定该Pass的绘制时间是在哪个阶段
        /// </summary>
        public RenderPassEvent renderPassEvent = RenderPassEvent.AfterRenderingPostProcessing;
        /// <summary>
        /// 用来渲染的材质
        /// </summary>
        public Material material;
        /// <summary>
        /// 颜色强度
        /// </summary>
        public float intensity = 0.2f;
        /// <summary>
        /// 叠加颜色
        /// </summary>
        public Color featureColor = Color.white;
        /// <summary>
        /// RT资源，通过连接本地资源文件，可以抓出我们希望的RT，然后用到其它地方，比如UI上展示
        /// </summary>
        public RenderTexture renderTexture;
    }
}
